Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MotionService: Fix step notification on sleep #2272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MB512
Copy link

@MB512 MB512 commented Mar 14, 2025

When using BLE notifications for motion it seams that the code enabels the sending of each motion even in sleep mode.

Using BLE notifications for steps should work the same.

I don't know how much this would use the battery, but i think it could not be more than with motion notification.

Fixes #2271

Copy link

github-actions bot commented Mar 14, 2025

Build checks have not completed. Possible reasons for this are:

  1. The checks need to be approved by a maintainer
  2. The branch has conflicts
  3. The firmware build has failed

Send btuetooth step notifications in sleep state just like motion notifications. Rename check function from IsMotionNotificationSubscribed to IsAnyNotificationSubscribed for clarity.
@MB512 MB512 force-pushed the feature/fix-step-notification branch from 65fa72e to b7c6717 Compare March 20, 2025 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Step notifications not working
1 participant